package com.mason.forum.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    @ApiModelProperty("板块ID")
    private Long boardId;

    @ApiModelProperty("作者ID")
    private Long userId;

    @ApiModelProperty("标题")
    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    @ApiModelProperty("正文")
    private String content;

}